package com.aspose.cells;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;

class zaee {
   int a = -1;
   int b = -1;
   boolean c = false;
   boolean d = false;
   int e = 1;
   int f = 1;
   Hyperlink g = null;
   Cell h = null;
   int i = -1;
   Style j = null;
   boolean k = false;
   ArrayList l = null;
   String m = null;
   static HashMap n = new HashMap();
   static boolean o = false;

   zaee(Cell var1) {
      if (var1 != null) {
         this.h = var1;
         this.b = var1.getRow();
         this.a = var1.getColumn();
         this.i = var1.r();
         this.j = var1.o();
         String var2 = var1.getWorksheet().getName() + "#" + var1.getColumn() + "#" + var1.getRow();
         if (o) {
            this.m = (String)n.get(var2);
         } else {
            this.a(var1);
            this.m = (String)n.get(var2);
         }
      }

   }

   zaee(int var1, int var2) {
      this.a = var2;
      this.b = var1;
   }

   void a(Cell var1) {
      NameCollection var2 = var1.d.r().getNames();
      Range var4 = null;
      String var5 = "";
      Iterator var6 = var2.iterator();

      while(var6.hasNext()) {
         Name var7 = (Name)var6.next();
         var4 = var7.d(false);
         if (null != var4 && var7.getRefersTo() != null && !"".equals(var7.getRefersTo())) {
            CellArea var3 = var4.a();
            var5 = var4.getWorksheet().getName() + "#" + var3.StartColumn + "#" + var3.StartRow;
            if (!n.containsKey(var5)) {
               n.put(var5, var7.getText());
            }
         }
      }

      o = true;
   }
}
